package assignment7;

/**
 * Class for Edge types
 * 
 * @author Terry Wasserleben CS204-21370 Prof. Jeannette Myers Due: 11/21/2011
 */
public class Edge {
	
	private String fName, lName;
	
	/**
	 * Constructor for Edge
	 * 
	 * @param fName First Name variable
	 * @param lName Last Name variable
	 */
	public Edge(String fName, String lName) {
		this.setEdge(fName, lName);
	}
	
	/**
	 * method to set the Edge variable
	 * 
	 * @param fName First Name variable
	 * @param lName Last Name variable
	 */
	public void setEdge(String fName, String lName) {
		this.fName = fName;
		this.lName = lName;
	}
	
	/**
	 * method to get the Edge variable
	 * 
	 * @return String variable returned in format fName:lName
	 */
	public String getEdge() {
		return fName + ":" + lName;
	}
	
}
